package com.sdry.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sdry.system.entity.SysDept;
import org.apache.ibatis.annotations.Update;

public interface DeptMapper extends BaseMapper<SysDept> {

    /**
     * 删除
     * @param deptId 主键ID
     */
    @Update("update sys_dept set del_flag = '1' where dept_id = #{deptId}")
    Integer deleteDept(Long deptId);
}
